package docmain;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("Result")
public class JSONResult {

	@XStreamAlias("s")
	private int status;
	
	private Object msg;

	public JSONResult(int status, Object msg) {
		super();
		this.status = status;
		this.msg = msg;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Object getMsg() {
		return msg;
	}

	public void setMsg(Object msg) {
		this.msg = msg;
	}

	@Override
	public String toString() {
		return "JSONResult [status=" + status + ", msg=" + msg + "]";
	}
	
	
}
